abnegate (one's) freedom

Translations
отказаться от (чьей-то) свободы
He chose to abnegate his freedom for the sake of the greater good.
Он решил отказаться от своей свободы ради общего блага.